/*!
    create css by 2020-11-16  kexuemihe  @wang   公共样式
*/
html {
    overflow: auto;
}

@mixin smContainer {
    .container {
        margin: 0 30px 0 18px;
    }
}

@mixin mdContainer {
    .container {
        margin: 0 50px;
    }
}

@mixin lgContainer {
    .container {
        margin: 0 50px;
    }
}

// 版心盒子随页面可视宽而变化
@media (max-width: 1024px) {
    html {
        font-size: 11px;
    }

    @include smContainer()
}

@media (min-width: 1024px) {
    html {
        font-size: 12px;
    }

    .dialog div.centerBox {
        height: 400px;
    }

    @include mdContainer()
}

@media (min-width: 1200px) {
    html {
        font-size: 13px;
    }

    .dialog div.centerBox {
        height: 450px;
    }

    div.loginDialog .innerBox img {
        width: 750px;
    }

    @include lgContainer()
}



/*头部*/
.header {
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 1px 7px 0px rgba(4, 0, 0, 0.08);

    .container {
        height: 4.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .Hleft {
        // width: 14rem;
        height: 100%;
      
        a {
            width: 10.8rem;
            white-space: nowrap;
            overflow: hidden;
            height: 100%;
            display: flex;
            align-items: center;
            p#logoText {
                font-size: 1.8rem;
                font-family: PingFang;
                font-weight: bold;
                color: #0AA8F9;
            }

            img {
                width: 100%;
            }
        }
    }

    .Hright {
        cursor: pointer;
        display: flex;
        align-items: center;

        div#infomation {
            width: 1.8rem;

        }

        img {
            width: 100%;
        }

        #tabOrganization {
            width: 8rem;
            height: 100%;
            margin: 0 1.5rem;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            position: relative;

            .showKXXHB {
                width: 8rem;
                display: flex;
                align-items: center;
                justify-content: center;

                span {
                    display: inline-block;
                    white-space: nowrap;
                    width: 80%;
                    overflow: hidden;
                    font-size: 1.3rem;
                    font-family: PingFang SC;
                    font-weight: 550;
                    color: #05A6F9;
                    text-align: center;
                }

                img {
                    width: 17px;
                }
            }

            .pullDownList {
                position: absolute;
                left: 0;
                top: 3rem;
                width: 12.8rem;
                background: #FFFFFF;
                box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.09);
                border-radius: .5rem;
                z-index: 100;
                padding: 10px 0;
                display: none;

                div {
                    min-height: 0rem;
                    max-height: 7.5rem;
                    width: 100%;
                    overflow: hidden;
                    scrollbar-highlight-color: #FFFFFF;

                    &::-webkit-scrollbar {
                        width: 3px;
                        background-color: rgba(193, 193, 193, 0.09) !important;
                        border-radius: 3px;
                    }

                    &::-webkit-scrollbar-thumb {
                        width: 3px;
                        background-color: rgba(5, 166, 249, .2);
                        border-radius: 3px;
                    }

                    &::-webkit-scrollbar-track-piece {
                        background-color: #FFF !important;
                        -webkit-border-radius: 6px;
                    }

                    ul {}
                }


                li {
                    padding: 0 1.2rem;
                    white-space: nowrap;
                    line-height: 2.5rem;
                    font-size: 1rem;
                    font-weight: 400;
                    color: #666666;
                    overflow: hidden;

                    &:hover {
                        background: #E9F1FE;
                    }
                }

                li.active {
                    background: #E9F1FE;
                }

                a {
                    text-align: center;
                    display: flex;
                    line-height: 2.5rem;
                    justify-content: center;
                    align-items: center;
                    margin-top: 5px;

                    img {
                        width: 1rem;
                        margin-right: .5rem;
                    }

                    span {
                        font-size: 1rem;
                        font-weight: 400;
                        color: #05A6F9;
                    }
                }
            }
        }

        div.enterLogin {
            position: absolute;
            right: -44%;
            top: 44px;
            min-width: 10rem;
            height: 80px;
            border: 1px solid #F5F5F5;
            background: linear-gradient(0deg, #FFFFFF 0%, #FFFFFF 100%);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.14);
            border-radius: 5px;
            z-index: 100;

            a {
                display: block;
            }

            p {
                line-height: 40px;
                font-size: 1.2rem;
                font-family: Source Han Sans CN;
                font-weight: bold;
                color: #999999;
                text-align: center;

            }

            p:hover {
                background-color: rgba(5, 166, 249, .1);
            }

            img {
                margin-right: 6px;
                border-radius: 0%;
                width: 15px;
                height: 15px;
                vertical-align: middle;
            }
        }

        button {
            width: 103px;
            $height: 2.6rem;
            height: $height;
            background: #05A6F9;
            border-radius: $height/2;
            margin: 0 1rem 0 0;
            font-size: 1.2rem;
            font-family: Adobe Heiti Std;
            font-weight: normal;
            color: #FFFFFF;
            cursor: pointer;
        }

        p {
            font-size: 1.3rem;
            font-family: PingFang;
            font-weight: 500;
            color: #05A6F9;
        }

        .loginAfter {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            position: relative;

            img {
                height: 100%;
                border-radius: 50%;
            }
        }
    }
}

/*搜索栏*/
.createBtn {
    width: 100%;
    padding-left: 20%;

    //新建课件按钮，因为首页改版，所以放在外面
    a {
        // position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        width: 60%;
        height: 4rem;
        background: #05A6F9;
        border-radius: 2rem;

        img {}

        em.iconiconjia {
            // position: absolute;
            color: #FFF;
            // left: 20%;
            margin-right: .7rem;
        }

        span {
            // position: absolute;
            // left: 35%;
            color: #FFF;
        }
    }
}

/*   网络连接失败 connectErr   */
.connectErr {
    text-align: center;
    font-family: PingFang SC;
    margin-top: 6.7rem;

    img {
        width: 49%;
    }

    p {
        font-size: 1.2rem;
        font-weight: 400;
        color: #666666;
        margin: 4.8rem 0 1.4rem 0;
    }

    a {
        font-size: 1.2rem;
        font-weight: 500;
        color: #05A6F9;
    }
}

/*   新建文档的弹窗 dialog   */
.dialog {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: -1000px;
    top: 0;
    background-color: rgba(229, 229, 229, .5);
    /*
    下面2个属性是为了控制弹窗的关闭打开,
    不介意使用display:none
    */
    opacity: 0;
    z-index: -10;

    .centerBox {
        width: 55%;
        height: 350px;
        background: #FAFAFA;
        border-radius: 1rem;
        text-align: center;
        font-family: PingFang;
        font-weight: 500;

        .close {
            position: relative;
            cursor: pointer;

            img {
                width: 1.2rem;
                position: absolute;
                right: 8px;
                top: 8px;
            }
        }

        h3 {
            font-size: 2rem;
            font-weight: bold;
            color: #333333;
            margin: 3.8rem 0 1.1rem 0;
        }

        .line {
            display: inline-block;
            width: 10%;
            height: .3rem;
            background: #2979F8;
            border-radius: 2px;
            margin-bottom: 4rem;
        }

        .operation {
            display: flex;
            cursor: pointer;
            justify-content: center;

            .interactCourse .boxImg {
                background: #F9A615 url(../images/courseware/interactCourse.png) no-repeat 50% 50%;
            }

            .whiteWord .boxImg {
                background: #6083F9 url(../images/courseware/book.png) no-repeat 50% 50%;
            }

            .uploadWord .boxImg {
                background: #68CB9B url(../images/courseware/upload.png) no-repeat 50% 50%;
            }

            div {
                width: 38%;
                background: #FFFFFF;
                border-radius: 1.2rem;
                text-align: center;
                margin: 0 1.9rem;

                div {
                    margin-top: 3.2rem;
                    display: inline-block;
                    width: 3.5rem;
                    height: 3.5rem;
                    border-radius: .3rem;
                }

                em {
                    display: block;
                    font-size: 1.4rem;
                    color: #333333;
                    line-height: 3.6rem;
                }

                p {
                    font-size: 1rem;
                    color: #999999;
                    line-height: 2.4rem;
                }

                button {
                    margin: 1.5rem 0 2.1rem 0;
                    width: 5rem;
                    height: 2.4rem;
                    background: #05A6F9;
                    border-radius: 1rem;
                    font-size: 1.2rem;
                    color: #FEFEFE;
                    cursor: pointer;
                }
            }

            .uploadWord {
                position: relative;

                input[type=file] {
                    cursor: pointer;
                    opacity: 0;
                    display: block;
                    position: absolute;
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}

/*      登录与注册 login    */
.loginDialog {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    background-color: rgba(229, 229, 229, .5);

    .innerBox {
        .close {
            position: relative;
            cursor: pointer;

            img {

                width: 1.2rem;
                position: absolute;
                right: 13px;
                top: 10px;
            }
        }

        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

        img {
            width: 665px;
            border-radius: 1.6rem;
        }

        .left {
            position: absolute;
            left: 50px;
            top: 0;

            img {
                width: 13.3rem;
                height: 2.7rem;
                color: #FEFEFE;
                font-size: 27px;
                margin: 42px 0 101px 0;
            }

            p {
                font-size: 2.1rem;
                font-weight: 500;
                color: #FEFEFE;
                line-height: 3rem;
            }

            span {
                display: block;
                margin-top: 2.5rem;
                font-size: 1.2rem;
                font-weight: 400;
                color: #FEFEFE;
                line-height: 3rem;
            }
        }

        .right {
            position: absolute;
            right: 14px;
            top: 46px;
            font-family: Source Han Sans CN;
            font-weight: 400;
            text-align: center;
            width: 39%;

            h4 {
                // margin: 46px 85px 20px;
                margin-bottom: 2.6rem;
                font-size: 1.6rem;
                color: #333333;
            }

            .selTitle {
                display: flex;
                justify-content: center;

                // .login,.reg{
                //     display: flex;
                //     width: 100%;
                //     justify-content: space-around;
                // }
                p {
                    margin: 0 30px;
                    float: left;
                    font-size: 1.4rem;
                    font-family: Source Han Sans CN;
                    font-weight: 400;
                    color: #999999;
                    line-height: 3rem;
                    cursor: pointer;
                }

                p.active {
                    color: #05A6F9;
                    border-bottom: 2px solid #05A6F9;
                }
            }
        }
    }

}

/*   登录与注册 login下的telLogin 手机号登录  */
.loginDialog {
    #bindUserTel {
        background: url(../images/courseware/touxiang.png) no-repeat 100% 50%/13px 14px;
    }

    .loginMeth {
        margin: 1rem 0 0 0rem;
        display: flex;
        align-items: center;
        justify-content: center;

        .telLogin {
            margin-top: 1rem;

            input[type=text] {
                margin-bottom: 30px;
                // background: url(../images/courseware/touxiang.png) no-repeat 100% 50%/13px 14px;
            }

            #logYzm {
                margin-bottom: 10px;
            }

            input[type=password] {
                background: url(../images/courseware/yanjing.png) no-repeat 100% 50%/13px 14px;
            }
        }

        .yanzheng {
            display: flex;
            justify-content: space-between;

            input {
                width: 100px !important;
            }

            #logGetYzm,
            #sendRePwdYzm,
            button#getYzm,
            #bindTelYzm {
                display: inline-block;
                float: right;
                margin-top: -1px;
                height: 20px;
                background: rgba(5, 166, 249, .7);
                border-radius: 10px;
                font-size: .8rem;
            }
        }

        .telReg,
        .findTel,
        .bindTel {
            margin-top: 1rem;

            input {
                margin-bottom: 18px;
            }

            button {
                margin-bottom: 12px;
            }

            .yanzheng {
                display: flex;
                justify-content: space-between;

                input {
                    width: 100px !important;
                }

                #sendRePwdYzm,
                button#getYzm,
                #bindTelYzm {
                    display: inline-block;
                    float: right;
                    margin-top: -1px;
                    height: 20px;
                    background: rgba(5, 166, 249, .7);
                    border-radius: 10px;
                    font-size: .8rem;
                }
            }

            strong {
                font-size: 1rem;
                color: #999999;

                span {
                    color: #05A6F9;
                    cursor: pointer;
                    line-height: 1.5rem;
                }
            }
        }

        #wx_login,
        #wx_login_reg {
            overflow: hidden;

            iframe {
                width: 100%;
            }
        }

        // wx扫描注册 wx扫描登录
        .wxReg,
        .wxLogin {
            margin-left: 6px;

            img {
                width: 130px;
                height: 130px;
            }

            .wxRegp {
                margin-top: 20px;
                line-height: 1.4rem;
            }

            p.line {
                margin: 15px 0;
                width: 215px;
                border: 1px solid #F0F0F0;
            }
        }

        // <!-- wx扫描登录 -->
        div.common {
            width: 190px;

            input[type=text],
            input[type=password] {
                border-bottom: 2px solid #F0F0F0;
                font-size: 1.2rem;
                display: block;
                background-color: #FFF;
                width: inherit;
                text-indent: 5px;
            }

            input.telphone {
                background: url(../images/courseware/touxiang.png) no-repeat 100% 50%/13px 14px;
            }

            .pwdOpera {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 12px;
                margin-bottom: 33px;

                .memoryPwd {
                    display: flex;
                    align-items: center;

                    input {}

                    em {
                        font-size: 1rem;
                        color: #999999;
                    }
                }

                i {
                    font-size: 1rem;
                    color: #05A6F9;
                    cursor: pointer;
                    white-space: nowrap;
                }
            }

            button {
                width: 190px;
                height: 27px;
                background: #05A6F9;
                border-radius: 13px;
                color: #FFF;
                font-size: 1.3rem;
                cursor: pointer;
            }

            p {
                font-size: 1rem;
                color: #999999;
                line-height: 3.6rem;

                span {
                    color: #05A6F9;
                    margin-left: 3px;
                    cursor: pointer;
                }
            }
        }
    }
}

// 左侧新建课件 模块切换
.content {
    height: calc(100vh - 4.5rem);
    display: flex;
}

#leftNav {
    width: 18%;
    background: #F7F8FA;
    height: 100%;
    display: flex;
    // align-items: center;
    flex-direction: column;

    nav {
        width: 100%;

        a {
            padding-left: 20%;
            display: block;
            color: #666666;
            width: 60%;
            div {
                display: flex;
                width: 60%;
                text-align: left;
                padding-left: 20%;
            }

            em {
                margin-right: .8rem;
            }

            i {
                display: block;
                white-space: nowrap;
                font-size: 1.3rem;
                font-family: Adobe Heiti Std;
                font-weight: 500;
            }
        }
    }

    .createBtn {
        margin: 1.5rem 0;

        a {
            img {}

            span {}
        }
    }

    ul {
        width: 100%;
    }

    li {
        width: 100%;
        line-height: 4.5rem;
    }

    li.active {
        background-color: #FFF;

        a {
            color: #05A6F9;
        }
    }

    li:hover {
        background-color: #FFF;
    }

}

#rightCon {
    width: 81%;
    overflow-y: auto;

    .searchInp {
        display: flex;

        ul {
            display: flex;

            li {
                font-size: 1.5rem;
                font-family: PingFang SC;
                font-weight: 500;
                color: #999;
                margin-right: 32.5px;
                cursor: pointer;
                line-height: 6.5rem;
            }

            li.active {
                color: #333;
            }
        }

        .search {
            display: flex;
            align-items: center;

            img {
                height: 2rem;
            }

            input {
                display: none;
                min-width: 20rem;
                max-width: 30rem;
                height: 2.5rem;
                background: #F7F7F7 url(../images/courseware/sousuo.png) no-repeat 94% 50%/10%;
                border-radius: 5px;
                text-indent: 2%;
            }
        }
    }
}